package com.wenchao.libbluetooth;

import android.bluetooth.BluetoothDevice;

/**
 * 【类的描述】介绍一下该类的用途
 *
 * @author zhangwenchao
 * @date 2022-02-18
 */
public class SuperBluetoothDevice {

    public BluetoothDevice device;
    public String name;
    public int rssi;
    /**
     * 是否已经绑定
     */
    public boolean isBonded = false;
    /**
     * 是否已经连接
     */
    public boolean isConnected;

    public SuperBluetoothDevice(BluetoothDevice device, String name, int rssi) {
        this.device = device;
        this.name = name;
        this.rssi = rssi;
    }

    public SuperBluetoothDevice(BluetoothDevice device, String name, boolean isBonded,
                                boolean isConnected) {
        this.device = device;
        this.name = name;
        this.isBonded = isBonded;
        this.isConnected = isConnected;
    }

}
